//
//  UIImageView+PYWebImage.h
//  catuncel
//
//  Created by Jim on 2018/1/12.
//  Copyright © 2018年 Jim. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^PYExternalCompletionBlock)(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL);

@interface UIImageView (PYWebImage)

- (void)py_setImageWithURL:(NSURL *_Nullable)url;

- (void)py_setImageWithURL:(NSURL *_Nullable)url completed:(PYExternalCompletionBlock _Nullable)completion;

@end
